package com.cnpinxi.domain;

import java.io.Serializable;
import java.util.Date;

public class AdminUser implements Serializable {
    /**
     * 1:账号有效
     */
    public final static Byte STATUS_VALID = 1;
    /**
     * 0:账号无效
     */
    public final static Byte STATUS_UNVALID = 0;
    private Long tid;

    private String userName;

    private String passWord;

    private String realName;

    private Integer roleId;

    private Byte status;

    private Date createTime;

    private String roleName;

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "AdminUser{" +
                "tid=" + tid +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", realName='" + realName + '\'' +
                ", roleId=" + roleId +
                ", status=" + status +
                ", createTime=" + createTime +
                ", roleName='" + roleName + '\'' +
                '}';
    }
}